package com.guofen.dao;

import com.guofen.pojo.ShljBlockageCleaning;
import com.guofen.pojo.ShljDeodorizationtowerWaterChange1;
import com.guofen.pojo.ShljElectricityMeter;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ShljElectricityMeterMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ShljElectricityMeter record);

    int insertSelective(ShljElectricityMeter record);

    ShljElectricityMeter selectByPrimaryKey(Integer id);

    ShljElectricityMeter getLast();

    int updateByPrimaryKeySelective(ShljElectricityMeter record);

    int updateByPrimaryKey(ShljElectricityMeter record);

    List<ShljElectricityMeter> selectAll();

    List<ShljElectricityMeter> selectByDate(@Param("startDate") String startDate,
                                            @Param("endDate") String endDate);
}